
cmake_minimum_required(VERSION 3.4.1)
# c的编译 参数
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNO_CRYPTO")
add_library( # Sets the name of the library.
             rtmp
             STATIC
        rtmp.c log.c amf.c hashswf.c parseurl.c )
